const state = {
  initFormData: {},
};

const mutations = {
  SET_FORM_INIT_DATA: (state, initData) => {
    state.initFormData = initData;
  },
};

const actions = {
  initFormData({ commit }, initData) {
    return new Promise((resolve, reject) => {
      commit("SET_FORM_INIT_DATA", initData);
      resolve(initData)
    });
  },
};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
};
